package com.chen.facemanager.dao;

import com.chen.facemanager.bean.Sca;
import com.chen.facemanager.bean.User;
import org.hibernate.sql.Update;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;
import org.springframework.stereotype.Repository;

@Repository
public interface ScaDao extends CrudRepository<Sca,Integer> {

//    @Query("update Sca u set u.uid = ?1,u.sta = '0' where u.id = '1'")
//    @Modifying
//    void updateScan(Integer uid);
}
